package main

import (
	beegoLogs "github.com/beego/beego/v2/core/logs"
	"github.com/beego/beego/v2/server/web"
	_ "neutron_probe/controllers"
	. "neutron_probe/services"
	. "neutron_probe/utils"
)

func main() {
	defer GetLogger().Sync()
	StartFetchDevice4Dfmc("dongFangMeasurementAndControl")
	StartDataSourceClient("dataSource")
	GetLogger().Info("start up!")
	beegoLogs.SetLevel(beegoLogs.LevelDebug)
	web.Run()
}
